package ${package.Mapper};

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.core.metadata.IPage;
import ${package.Entity}.${entity};
import ${package.Entity}.${entity}DTO;
import ${superMapperClassPackage};
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

/**
 * <p>
 * ${table.comment!} Mapper 接口
 * </p>
 *
 * @author ${author}
 * @since ${date}
 */
<#if kotlin>
interface ${table.mapperName} : ${superMapperClass}<${entity}>
<#else>
@Repository
@Mapper
public interface ${table.mapperName} extends ${superMapperClass}<${entity}> {

      /** 分页 */
      IPage<${entity}DTO> list(Page page);

      /** 详情 */
      ${entity}DTO getById(Long id);

}
</#if>
